package com.heima.admin.service.impl;

import com.heima.admin.service.NewExamineService;
import com.heima.apis.wemedia.IWemediaClient;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.NewExamineDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NewExamineServiceImpl implements NewExamineService {

    @Autowired
    private IWemediaClient wemediaClient;


    @Override
    public ResponseResult listVo(NewExamineDto dto) {
        return wemediaClient.listVo(dto);
    }

    @Override
    public ResponseResult oneVo(Integer id) {
        return wemediaClient.oneVo(id);
    }

    @Override
    public ResponseResult authPass(NewExamineDto dto) {
        return wemediaClient.authPass(dto);
    }

    @Override
    public ResponseResult authFail(NewExamineDto dto) {
        return wemediaClient.authFail(dto);
    }
}
